{template 'common/header'}

<ul class="nav nav-tabs">
        <li>
            <a href="{php echo $this->createWebUrl('property', array('op' => 'list'));}">物业管理</a>
        </li>
        
        <li {if $op == 'post'}class="active" {/if}>
            <a href="{php echo $this->createWebUrl('property', array('op' => 'add'));}">{if $_GPC['id']}修改物业{else}新增物业{/if}</a>
        </li> 

        <li class="active">
            <a href="#">支付设置</a>
        </li>
    </ul>
    <div class="main">
            <form id="payform" action="" enctype="multipart/form-data" method="post" class="form-horizontal form"  ng-controller="paySetting">
                
                
                <div class="panel panel-default">
                    <div class="panel-heading">
                        设置支付宝支付
                    </div>
                    <div class="panel-body">
                        <div class="form-group">
                            <label class="col-xs-12 col-sm-3 col-md-2 control-label">支付宝无线支付</label>
                            <div class="col-sm-9 col-xs-12">
                                <div class="alert alert-warning">
                                    您的支付宝账号必须支持手机网页即时到账接口, 才能使用手机支付功能, <a href="https://b.alipay.com/order/productDetail.htm?productId=2013080604609688" target="_blank">申请及详情请查看这里</a>.
                                </div>
                            </div>
                        </div>
                        <div ng-show="alipay.switch == 'true'">
                            <div class="form-group">
                                <label class="col-xs-12 col-sm-3 col-md-2 control-label">收款支付宝账号</label>
                                <div class="col-sm-9 col-xs-12">
                                    <input type="text" name="account" class="form-control" value="{$payment['account']}" autocomplete="off">
                                    <span class="help-block">如果开启兑换或交易功能，请填写真实有效的支付宝账号，用于收取用户以现金兑换交易积分的相关款项。如账号无效或安全码有误，将导致用户支付后无法正确对其积分账户自动充值，或进行正常的交易对其积分账户自动充值，或进行正常的交易。 如您没有支付宝帐号，<a href="https://memberprod.alipay.com/account/reg/enterpriseIndex.htm" target="_blank">请点击这里注册</a></span>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-xs-12 col-sm-3 col-md-2 control-label">合作者身份</label>
                                <div class="col-sm-9 col-xs-12">
                                    <input type="text" name="partner" class="form-control" value="{$payment['partner']}" autocomplete="off"/>
                                    <span class="help-block">支付宝签约用户请在此处填写支付宝分配给您的合作者身份，签约用户的手续费按照您与支付宝官方的签约协议为准。<br>如果您还未签约，<a href="https://memberprod.alipay.com/account/reg/enterpriseIndex.htm" target="_blank">请点击这里签约</a>；如果已签约,<a href="https://b.alipay.com/order/pidKey.htm?pid=2088501719138773&amp;product=fastpay" target="_blank">请点击这里获取PID、Key</a>;如果在签约时出现合同模板冲突，请咨询0571-88158090</span>
                                </div>
                            </div>
                            <div class="form-group">
                                <label class="col-xs-12 col-sm-3 col-md-2 control-label">校验密钥</label>
                                <div class="col-sm-9 col-xs-12">
                                    <input type="text" name="secret" class="form-control" value="{$payment['secret']}" autocomplete="off"/>
                                    <span class="help-block">支付宝签约用户可以在此处填写支付宝分配给您的交易安全校验码，此校验码您可以到支付宝官方的商家服务功能处查看</span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            
                
                <div class="form-group col-sm-12">
                    <button name="submit" type="submit" value="提交" class="btn btn-primary col-lg-1" >提交</button>
                    <input type="hidden" name="token" value="{$_W['token']}" />
                    <input type="hidden" name='id' value="{$payment['id']}">
                </div>
            </form>
        </div>
{template 'common/footer'}